package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Address;

import java.util.List;

public interface AddressDao {
    void deleteAddress(Integer id);

    List<String> find();

    PageResult findPage(QueryPageBean queryPageBean);

    public Page<Address> selectCount(String queryString);

    Integer findId(String address);

    void addAddress(Address address);
}
